Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/script parser #385

Merged
merged 50 commits into from
Sep 7, 2024
Merged

Feat/script parser #385

merged 50 commits into from
Sep 7, 2024

Conversation

RLKRo
Copy link
Member

@RLKRo RLKRo commented Sep 7, 2024

Description

Added option to initialize Pipeline from yaml/json files.

Changelog

Breaking changes

  • Removed proc.ExtractAll -- the function is unsafe as it overwrites the entire slot storage. it is still available as method of the slot manager

Features

  • Add Pipeline from file import
  • Add function that creates an index of commonly-used Chatsky objects
  • Added imports to some __init__ files
  • Allow initializing NodeLabel from a list of two strings

Bug fixes

  • Slot extraction will now not write the value to the slot storage if value was not successfully extracted. Can be changed via the success_only flag

Devel

  • Add aliases to script keywords

Checklist

  • I have performed a self-review of the changes

To Consider

  • Add tests (if functionality is changed)
  • Update API reference / tutorials / guides
  • Update CONTRIBUTING.md (if devel workflow is changed)
  • Update .ignore files, scripts (such as lint), distribution manifest (if files are added/deleted)
  • Search for references to changed entities in the codebase

RLKRo and others added 30 commits February 12, 2024 02:05
This allows using `Keywords.GLOBAL` and literal `"GLOBAL"` interchangeably.
This commit will conflict with #328 and can be dropped.
This allows importing `Message` directly from `dff`, among other import improvements.
The master was merged into script-parser, and a slot parsing
functionality was added.
# Conflicts:
#	chatsky/core/service/script_parsing.py
#	chatsky/pipeline/pipeline/pipeline.py
#	chatsky/script/core/keywords.py
#	chatsky/script/core/script.py
#	chatsky/script/responses/std_responses.py
#	chatsky/slots/slots.py
@RLKRo RLKRo added the enhancement New feature or request label Sep 7, 2024
@RLKRo RLKRo self-assigned this Sep 7, 2024
@RLKRo RLKRo merged commit 40981ef into dev Sep 7, 2024
17 checks passed
@RLKRo RLKRo mentioned this pull request Sep 7, 2024
@RLKRo RLKRo mentioned this pull request Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants